CFLAGS+=-pthread -Wall -I../include
LDFLAGS+=-pthread -I../include

object=main.o media_list.o media_lib.o thr_list.o thr_channel.o

server:$(object)
	gcc $(CFLAGS) $(LDFLAGS) -g -o server $(object)

main.o:
media_list.o:
media_lib.o:
thr_list.o:
thr_channel.o:

.PHONY:clean
clean:
	-rm -rf server $(object)
